//
//  DANetWorkReachabilityStatus.h
//  DAKnowledge
//
//  Created by DreamArts on 16/5/17.
//  Copyright © 2016年 lidongyang. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
#import "AFNetworking.h"

typedef void(^successBlock)(NSString *status);
typedef void(^isNetWorkConnectBlock)(BOOL isConnect);

@interface DANetWorkReachabilityStatus : AFNetworkReachabilityManager

/**  网络状态*/
+ (void)netWorkSuccessBlock:(successBlock)success;
+ (BOOL)isNetWorkConnect;

+ (void)isNetWorkConnectWithBlock:(isNetWorkConnectBlock)block;
@end
